package com.aptech.bean;

import java.util.Date;

/**
 * 休假信息表
 * @author apple
 */
public class Vacation {
	//id
	private int id;
	
	//申请人
	private int applicant;
	
	//开始时间
	private Date startTime;
	
	//结束时间
	private Date endTime;
	
	//请假天数
	private double vacationDay;
	
	//请假原因
	private String reason;
	
	//审批人
	private int approver;
	
	//审批状态
	private boolean status;
	
	//审核意见
	private String idea;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getApplicant() {
		return applicant;
	}

	public void setApplicant(int applicant) {
		this.applicant = applicant;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public double getVacationDay() {
		return vacationDay;
	}

	public void setVacationDay(double vacationDay) {
		this.vacationDay = vacationDay;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public int getApprover() {
		return approver;
	}

	public void setApprover(int approver) {
		this.approver = approver;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

	public String getIdea() {
		return idea;
	}

	public void setIdea(String idea) {
		this.idea = idea;
	}

	@Override
	public String toString() {
		return "Vacation [id=" + id + ", applicant=" + applicant + ", startTime=" + startTime + ", endTime=" + endTime
				+ ", vacationDay=" + vacationDay + ", reason=" + reason + ", approver=" + approver + ", status="
				+ status + ", idea=" + idea + "]";
	}
	
	
}
